Annolid User Guide¶
Overview¶
Annolid is an instance segmentation based tracking and behavioral analysis package for videos.
It supports instance segmentation based tracking, and behavioral analysis.

Figure 1. Overview of Annolid workflow.
The tracking result CSV files can be imported into Glitter2 for correction or analysis.
Video guide¶
Following is a video for instance segmentation based pose estimation.
Please see the Install Annolid section for instructions on how to download and install Annolid.
Extract frames¶
In this video, we’ll show you how to extract frames frome a video.
First, start the Annolid GUI. Click Extract frames in the toolbar list. When the dialog opens, click the and select the video file. You can choose the start and end seconds if you want extract frames in the given time interval. Use random algorithm and select the desired number of frames. The waiting time depends on the video length, and the algorimth that were selected. It might take a while to finish. When the process is done, it will load all the images into canvas for labeling. You can check the extract frames by clicking the files in the file list.
Label Zones¶
In this video, we’ll show you how to label zones and non-moving objects in a video frame.
Create your COCO format dataset¶
In this video, we’ll show you how to create your dataset in COCO format.
Install and run Detectron2 in Google Colab¶
In this video, we’ll show you how to install and run Detectron2 in Google Colab.
Upload and visualize your dataset in Detectron2 Colab¶
In this video, we’ll show you how to upload and visualize your dataset in Detectron2 Colab.
Train and fine-tune a COCO-pretrained Mask R-CNN model in Detectron2 Colab¶
In this video, we’ll show you how to train and fine-tune a COCO-pretrained Mask R-CNN model in Detectron2 Colab.
Inference on a test video in Detectron2 Colab¶
In this video, we’ll show you how to perform instance segmentation on a test video in Detectron2 Colab.
Save and download the tracking results from Detectron2 Colab¶
In this video, we’ll show you how to download and save the tracking results from Detectron2 Colab.
Convert instance segmentation results to Glitter2 format¶
In this video, we’ll show you how to convert instance segmentation results to Glitter2 format.